package cn.tedu.kaifanlav1.business.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class BusinessVO {
    @ApiModelProperty(value = "订单 ID")
    private Long singleId;
    @ApiModelProperty(value = "下单用户姓名")
    private String singleName;
    @ApiModelProperty(value = "下单菜品 id")
    private Long singleFoodId;
    @ApiModelProperty(value = "订单价格")
    private Integer singlePrice;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
